<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<form action="buyMessage.htm" method="post">
<input type="hidden" name="business" value="jigar.mistry@cyberthinkinfotech.com">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="add" value="1">
<input type="hidden" name="item_name" value="MyTitle">
<input type="hidden" name="item_number" value="1234">
<input type="hidden" name="amount" value="100.00">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="return" value="<%= basePath + "buyMessage.htm" %>">
<input type="hidden" name="cancel_return" value="<%= basePath + "showItem.htm" %>">
	<input name="action" value="Process_BuyItNow" type="hidden">
	<input name="ID" value="1209567603" type="hidden">
	<input name="Lang" value="en" type="hidden">
	<input name="Bidder_ID" value="&lt;!--Bidder_ID--&gt;" type="hidden">
	<input name="Bidder_Password" value="&lt;!--Bidder_Password--&gt;"
		type="hidden">
	<input name="Bid_Quantity" value="1" type="hidden">

	<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td>
					<div class="blue-text16" style="margin: 0px 0px 0px 0px">
						<s:text name="reviewbuyitnow.title" />
					</div>
					<div class="header-separator-bg" style="margin: 10px 5px 17px 0px"></div>
					<div style="margin: 0px 0px 12px 0px">
	<table cellpadding="2" cellspacing="0" width="100%">
		<tbody>
			<tr>
				<td width="100%" class="common-text">
					<!--Bidding_Error-->
					<b class="common-bold-text"><s:text name="reviewbuyitnow.title1" /></b>
					<br>
					<s:text name="reviewbuyitnow.confirm" />
					<br>
					<br>
					<font color="red"><b><s:text name="reviewbuyitnow.contact" /></b>
					<br><s:text name="reviewbuyitnow.contact1" /><br>
						<br>
					</font>
				</td>
			</tr>

			<tr>
				<td align="center" bgcolor="#ededdc" width="100%">
					<font color="#000080" size="3" class="common-bold-text"><b><s:property value="item.title" /></b>					</font>				</td>
			</tr>
			<tr>
				<td align="center" bgcolor="#f3f3f3" width="100%">
					<font color="#800000" size="3" class="common-bold-text"><b>Item Nr.<s:property value="item.itemId" /></b>					</font>				</td>
			</tr>
			<tr>
				<td bgcolor="#ffffff" width="100%">
					<table border="0" cellpadding="4" cellspacing="0" width="100%">
						<tbody>
							<tr>
								<td width="50%" align="right" bgcolor="#ffffff" class="search-text">
									<b><s:text name="reviewbuyitnow.desire" /></b>								</td>
								<td width="50%" bgcolor="#ffffff" class="common-text">
									<s:property value="bidQuantity" />								</td>
							</tr>
							<tr>
								<td width="50%" align="right" bgcolor="#ffffff" class="search-text">
									<b> <s:text name="reviewbuyitnow.buyitem" /> </b>								</td>
								<td width="50%" bgcolor="#ffffff" class="common-text">
									<s:property value="item.startBid" /> <s:property value="item.currency.currency" /> 								</td>
							</tr>

							<tr>
								<td width="50%" align="right" bgcolor="#ffffff" class="search-text">
									<b><s:text name="reviewbuyitnow.price" /> </b>								</td>
								<td width="50%" bgcolor="#ffffff" class="common-text">							    <s:property value="item.startBid * bidQuantity" /> <s:property value="item.currency.currency" /><b> &nbsp; </b>(Quantity x "Buy now" amount)								</td>
							</tr>
							<tr>
								<td width="50%" align="right" bgcolor="#ffffff" class="search-text">
									<b><s:text name="reviewbuyitnow.userid" /> </b>								</td>
								<td width="50%" bgcolor="#ffffff" class="common-text">
								    <s:property value="#session.user.userId" />								</td>
							</tr>
							<tr>
								<td colspan="2" align="center" bgcolor="#ffffff" width="100%">
									<table border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td><img src="images/middle/btn-grey-left1.gif" alt=" " width="6" height="23" /></td>
									  <td class="btn-grey-middle1 "><input type="submit" name="Submit" value="Buy it now" class="submit-btn-common" /></td>
									  <td><img src="images/middle/btn-grey-right1.gif" alt=" " width="6" height="23" /></td>
									</tr>
								  </table>
								</td>
							</tr>
						</tbody>
				  </table>
				</td>

			</tr>
			<tr>
				<td align="left" width="100%"><br>
					<b class="common-bold-text"><u><s:text name="reviewbuyitnow.help" /></u>					</b>
					<br>
					<ul>
						<li class="common-text">
							<s:text name="reviewbuyitnow.help1" />						</li>
						<li class="common-text">
							<s:text name="reviewbuyitnow.help2" />						</li>
					</ul>
				</td>
			</tr>
		</tbody>
  </table>
  </div>
  </td>
  </tr>
  </table>
  <s:hidden name="item.itemId" value="%{item.itemId}" />
  <s:hidden name="bidQuantity" value="%{bidQuantity}" />
</form>